<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>

<div class="easyui-layout" fit="true" id="taskGroupForm">
 <t:formvalid formid="formobj" dialog="true"  layout="table" action="" beforeSubmit="" >
    <div region="center" style="border:0px;padding: 0px;heigth:460px;" split="true">   
           
		<t:datagrid name="synQueryTaskList"  title="集团用户电费综合查询" actionUrl="groupPRController.do?snyQueryTaskGrid" idField="id" treegrid="false" pagination="true"  sortOrder="desc" sortName="queryTask.queryDate"  onLoadSuccess="">
            <t:dgCol title="" field="id" hidden="true"></t:dgCol> 
            <t:dgCol title="查询日期" field="queryTask.queryDate" width="70" query="true"></t:dgCol> 
             <t:dgCol title="营业厅" field="groupInfo.createDepartmentname" width="50"></t:dgCol> 
            <t:dgCol title="集团编号" field="groupInfo.id" width="50"></t:dgCol> 
            <t:dgCol title="集团名称" field="groupInfo.groupName" width="100" query="true"></t:dgCol>		
            <t:dgCol title="联系人" field="groupInfo.contactMan" width="60" ></t:dgCol>		
            <t:dgCol title="联系电话" field="groupInfo.contactPhone" width="60" ></t:dgCol>		
            <t:dgCol title="邮箱" field="groupInfo.contactEmail" width="80" ></t:dgCol>	
            <t:dgCol title="总户数" field="totalNum" width="40"  ></t:dgCol>	
            <t:dgCol title="电费总额(元)" field="totalAmount" width="60" ></t:dgCol>	
			<t:dgCol title="common.operation" field="opt" width="50"></t:dgCol>
            <t:dgFunOpt funname="showCustomerNoList(id)" title="集团户号"></t:dgFunOpt>				            
        </t:datagrid>
					
       
     </div>
  </t:formvalid>

</div>

<script type="text/javascript">
	
    function showCustomerNoList(id){
    	createdetailwindow("集团户号明细","groupPRController.do?goTaskCustomerNoList&id="+id,800,500) 
    
    }
</script>

